package com.diaohw.module.system.obj.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;

/**
 * 菜单 DTO
 *
 * @author D-Hw
 * @since 2024-07-05
 */
@Data
@Accessors(chain = true)
@Schema(name = "Menu", description = "菜单 DTO")
public class MenuVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @Schema(description = "ID")
    private String id;

    /**
     * 父级菜单ID
     */
    @Schema(description = "父级菜单ID")
    private String parentId;

    /**
     * 菜单名称
     */
    @Schema(description = "菜单名称")
    private String menuName;

    /**
     * 第几级
     */
    @Schema(description = "第几级")
    private Integer menuLevel;

    /**
     * 路由
     */
    @Schema(description = "路由")
    private String menuRoute;

    /**
     * 组件地址 COMPONENTS
     */
    @Schema(description = "组件地址")
    private String component;
    /**
     * 图标
     */
    @Schema(description = "图标")
    private String icon;

    /**
     * 排序
     */
    @Schema(description = "排序")
    private Integer sort;

    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;

    /**
     * 状态;0：禁用，1：启用
     */
    @Schema(description = "状态;0：禁用，1：启用")
    private Integer state;


}
